package com.cn.jx.manager.service.mtn;

import java.util.List;

import com.cn.jx.manager.form.UserForm;
import com.cn.jx.manager.form.UserOrgJobForm;
import com.cn.jx.manager.po.Pwd;

/**
 * 
 * @author 姜旭
 * @version v1.11.20.2019
 * @since 
 * <p>创建时间：2019年12月1日
 * <p>功能描述：
 * <p>官方网站：management/admin/index
 * <p>邮箱地址：524577360@qq.com
 */
public interface IUserServiceMtn {

	/**
	 * 
	* @Title:saveOrUpdateUser
	* @Description:TODO(保存或更新)
	* <p>邮箱地址: 524577360@qq.com
	* @param item
	* @throws Exception
	* void
	* @throws
	 */
	public void saveOrUpdateUser(UserForm item) throws Exception;

	/**
	 * 
	* @Title:savePassword
	* @Description:TODO(保存密码)
	* <p>邮箱地址: 524577360@qq.com
	* Pwd
	* @throws
	 */
	public Pwd savePassword(Pwd item) throws Exception;

	/**
	 * 
	* @Title:delUser
	* @Description:TODO(批量删除用户)
	* <p>邮箱地址: 524577360@qq.com
	* void
	* @throws
	 */
	public void delUser(List<String> ids,String operator) throws Exception;
	
	/**
	 * 
	* @Title:removeUser
	* @Description:TODO(彻底删除)
	* <p>邮箱地址: 524577360@qq.com
	* void
	* @throws
	 */
	public void removeUser(List<String> ids,String operator) throws Exception;
	
	/**
	 * 
	* @Title:recoverResource
	* @Description:TODO(批量恢复)
	* <p>邮箱地址: 524577360@qq.com
	* @throws
	 */
	public void recoverUser(List<String> ids,String operator) throws Exception;
	
	/**
	 * 
	* @Title:removeUserAll
	* @Description:TODO(清空购物车)
	* <p>邮箱地址: 524577360@qq.com
	* @param opertor
	* @throws Exception
	* void
	* @throws
	 */
	public void removeUserAll(String opertor) throws Exception;
	
	/**
	 * 
	* @Title:allotOrgJobByUser
	* @Description:TODO(分配)
	* <p>邮箱地址: 524577360@qq.com
	* @param userId
	* @param orgId
	* @param jobId
	* @throws Exception
	* void
	* @throws
	 */
	public void allotOrgJobByUser(UserOrgJobForm uoj) throws Exception;
	
	/**
	 * 
	* @Title:setMajorByuoj
	* @Description:TODO(设置主岗)
	* <p>邮箱地址: 524577360@qq.com
	* @param userid
	* @param orgid
	* @param jobid
	* @param opertor
	* @throws Exception
	* void
	* @throws
	 */
	public void setMajorByuoj(String userid,String orgid,String jobid,String opertor) throws Exception;
	
	/**
	 * 
	* @Title:delUOJbyids
	* @Description:TODO(删除关系)
	* <p>邮箱地址: 524577360@qq.com
	* @param id
	* @param opertor
	* @throws Exception
	* void
	* @throws
	 */
	public void delUOJbyids(List<String> id,String opertor) throws Exception;
	
	
	/**
	 * 
	* @Title: addUserRole
	* @Description: TODO(分派角色)
	* <p>邮箱地址：524577360@qq.com
	* @throws
	 */
	public void addUserRole(String userId,String[] roleId,String opertor) throws Exception;

}
